@echo off
cd ..

set ELEMENT_UI=node_modules\element-ui\types\element-ui.d.ts
set TS_LOADER=node_modules\ts-loader\dist\index.js
rem *************************************************
rem copy element-ui
rem *************************************************
if not exist %ELEMENT_UI% (
    echo element-ui NOT installed
) else (
    echo copy element-ui
    xcopy /Y my_nm\element-ui\element-ui.d.ts %ELEMENT_UI%
)

rem *************************************************
rem copy element-ui
rem *************************************************
if not exist %TS_LOADER% (
    echo ts-loader NOT installed
) else (
    echo copy ts-loader
    xcopy /Y my_nm\ts-loader\index.js %TS_LOADER%
)
@echo on
pause